<%--
  Created by IntelliJ IDEA.
  User: 17534
  Date: 2020/9/15
  Time: 10:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <title>记账</title>
</head>
<body>
<h1>记账</h1>
<form method="post" action="/insertbills">
    <p>
        类型：
        <c:forEach items="${types}" var="type">
            <input type="radio" value="${type.id}" name="typeid">${type.bname}
        </c:forEach>
    </p>
    <p>
        标题：<input type="text" style="width: 500px" name="title">
    </p>
    <p>
     日期：<input type="text" name="bilitime">
     金额：<input type="text" name="price">
    </p>
    <p>
        说明：<textarea cols="50" rows="4" name="explains"></textarea>
    </p>
    <input type="reset" value="重置">
    <input type="submit" value="提交">
</form>
</body>
</html>
